<template>
  <div>
    <el-dialog title="附件上传" :visible.sync="dialogVisible" width="30%" @close="closeDialog">
      <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
        <el-form-item label="活动名称" prop="name">
          <el-input v-model="ruleForm.name"></el-input>
        </el-form-item>
      </el-form>

      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ruleForm:{},
      rules:{
        
      },
      dialogVisible: false
    }
  },
  methods: {
    show() {
      this.dialogVisible = true
    },
    closeDialog() {
      this.dialogVisible = false
    },

  }
}
</script>

<style scoped></style>